package com.example.webflux_module.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Table("customer")
public class Customer {
    @Id
    private Long id;
    private String name;
    private String email;
    // 构造函数、getter和setter省略
}
